package com.example.demo;

import org.springframework.data.mongodb.repository.MongoRepository;

public interface AdRepository extends MongoRepository<Ad, Long> {

    Ad findByTitle(String title);

}